/**
 * output package name
 */
package com.kingdee.eas.custom.hr.compensation;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class OperatorsEnum extends StringEnum
{
    public static final String GREATER_VALUE = "1";
    public static final String LESS_VALUE = "2";
    public static final String GEQ_VALUE = "3";
    public static final String LEQ_VALUE = "4";

    public static final OperatorsEnum greater = new OperatorsEnum("greater", GREATER_VALUE);
    public static final OperatorsEnum less = new OperatorsEnum("less", LESS_VALUE);
    public static final OperatorsEnum geq = new OperatorsEnum("geq", GEQ_VALUE);
    public static final OperatorsEnum leq = new OperatorsEnum("leq", LEQ_VALUE);

    /**
     * construct function
     * @param String operatorsEnum
     */
    private OperatorsEnum(String name, String operatorsEnum)
    {
        super(name, operatorsEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static OperatorsEnum getEnum(String operatorsEnum)
    {
        return (OperatorsEnum)getEnum(OperatorsEnum.class, operatorsEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(OperatorsEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(OperatorsEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(OperatorsEnum.class);
    }
}